package com.muyu.user.mapper;

import com.muyu.user.domain.SysUserTagRelation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户标签中间表接口
 */
@Mapper
public interface SysUserTagRelationMapper {
    /**
     * 批量删除用户标签
     * @param userIds
     */
    void deleteByUserIds(@Param("userIds") List<Long> userIds);

    /**
     * 批量添加用户标签
     * @param userTagRelations
     */
    void BatchUserTag(@Param("userTagRelations") List<SysUserTagRelation> userTagRelations);
}
